package com.chance.cc.crawler.development.command.schedule.weixin;

import com.chance.cc.crawler.core.CrawlerJob;
import com.chance.cc.crawler.development.command.job.domain.weixin.api.simple.WXApiSimpleKeywordsCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weixin.api.simple.WXApiSimpleUIDCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weixin.api.trace.WeixinKeywordsTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.job.domain.weixin.api.trace.WeixinUIDTraceCrawlerSchedulerJob;
import com.chance.cc.crawler.development.command.schedule.CommonCrawlerJobTestScheduler;

/**
 * @author lt
 * @version 1.0
 * @date 2021-03-19 10:49:28
 * @email okprog@sina.com
 */
public class WeixinAPICommonCrawlerSchedule extends CommonCrawlerJobTestScheduler {

    public static void main(String[] args) {
//        weixinAPICommonCrawlerScheduleJob(WeixinKeywordsTraceCrawlerSchedulerJob.crawlerJobScheduler());
//
//        weixinAPICommonCrawlerScheduleJob(WeixinUIDTraceCrawlerSchedulerJob.crawlerJobScheduler());


        weixinAPICommonCrawlerScheduleJob(WXApiSimpleKeywordsCrawlerSchedulerJob.crawlerJobScheduler());
//        weixinAPICommonCrawlerScheduleJob(WXApiSimpleUIDCrawlerSchedulerJob.crawlerJobScheduler());
    }


    public static void weixinAPICommonCrawlerScheduleJob(CrawlerJob crawlerJob){
        crawlerJobScheduleCommand_15.republishCrawlerJob(crawlerJob.generateCrawlerTriggerKey(),device_name_15);
    }
}
